package com.ntd.study.modular.hutool;

import cn.hutool.core.lang.Console;
import cn.hutool.core.text.csv.CsvUtil;
import cn.hutool.core.text.csv.CsvWriter;

import java.nio.charset.Charset;
import java.util.ArrayList;
import java.util.List;

public class StudyCsv {
    public static void main(String[] args) {
        List<String> lines = new ArrayList<>();
        final CsvWriter writer = CsvUtil.getWriter("/tem.csv", Charset.defaultCharset());
        writer.write(lines);
        Console.log(lines);
    }
}
